public class Main {
    public static void main(String[] args) {
        SingleLinkedList singleLinkedList = new SingleLinkedList();
        singleLinkedList.FirstListNode();

       /* singleLinkedList.display();
        System.out.println("+++++++++++++");
        System.out.println(singleLinkedList.contains(1));
        System.out.println(singleLinkedList.contains(7));*/
        //singleLinkedList.addIndex(2,1);
        //singleLinkedList.addFirst(1);
        //singleLinkedList.addFirst(1);
        //singleLinkedList.removeAllKey(5);
        singleLinkedList.remove(4);
        singleLinkedList.display();
        // singleLinkedList.clear();
       /* singleLinkedList.addLast(7);
        singleLinkedList.display();*/
        /*singleLinkedList.display();
        System.out.println("+++++++++++++");
        singleLinkedList.head = null;
        singleLinkedList.addFirst(7);
        singleLinkedList.display();*/


        //System.out.println(singleLinkedList.size());

    }
}